package calbs.socket.exception;/**
 * Created by zhangqin on 2017/8/21.
 */

/**
 * @author
 * @create 2017-08-21 16:13
 **/
public enum  AnalySocketExceptionEmum {
    NO_FRAME_NOLGOIN(10003,"没有该协议并没有登录"),
    NO_FRAME(10002,"没有该协议"),
    NO_LOGIN(1001,"没有登录")
    ,
    SYS_ERROR(2001,"系统出错了")
            ;
    private int code;
    private String message;

    AnalySocketExceptionEmum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
